kwingltexture: Implement GLTexture::toImage for GLES
glGetTexImage is not available in GLES. Instead, bind the texture
to a framebuffer and use glReadPixels
on it.
Fixes running kwin_wayland
windowed under X11.
Kai Uwe Broulik kai_uwe.broulik@mbition.io on behalf of MBition GmbH
https://github.com/mercedes-benz/foss/blob/master/PROVIDER_INFORMATION.md