xserver.nix: Check whether Polkit is enabled

Our X session script requires Polkit because it calls systemd-inhibit.