eglut_wayland: Update to the Wayland 1.0 API

This fixes build errors with the eglut_wayland backend. In particular
it now uses the wl_registry and the new main loop mechanism from the
Wayland 1.0 API.
eglut_wayland: Set opaque region