Fix "Alt-Tab" out of a Fullscreen Window on Unix

Completely rewrote WindowImplX11::switchToFullscreen to use X11 Atoms.

Moved the if(fullscreen) check after Window creation, as is needed when using Atoms.