Add initial EGL-X11 support

This adds optional X11 support on EGL based systems. Since the EGL backend does not support switch between windows and fullscreen mode there'll be always a fullscreen window.