Rework GL feature handling
Mirror Vulkan by adding GdkGLFeatures
flags and a GDK_GL_DISABLE
env var to disable them.
This is preparatory work for adding more conditional features to the GL renderer, and it's just shuffling code, so I split it into its own MR.