[X11] Add support for EGL/GLESv2 when using X11