Place X11 ahead of OpenGL when X11 is active

Fixes #29651.