Disallow 3D mode when running outside of X11

3D mode is currently X-specific. Making it work in Wayland and Mir will
be future work.