This removes glGetBooleanv queries for GL_LIGHTING. This has been #ifdef'd out with legacy opengl disabled. Thus a false positive still shows up in the gl queries. Also, note that this removes support for wireframes in opensubdiv, when desabling legacy opengl, which should be fixed later. Part of T49043