wayland-egl: rework and simplify wl_egl_window initialization