logind: ignore non-tty/non-x11 session when checking if there are other sessions before shutting down

https://bugzilla.redhat.com/show_bug.cgi?id=890827