wayland: Improve fullscreen support

Switching between fullscreen and non-fullscreen now works the same way that it
does with the X11 backend.