emacs: don't check for window-system when disabling ui elements

This way it works with emacs in daemon mode