Can't shutdown with systemctl command anymore

If ptyxis, the terminal app, is the culprit, it’s considered a feature, see

I can't reboot using the terminal in Fedora 44 Beta - #4 by vekruse and I can't reboot using the terminal in Fedora 44 Beta - #12 by kparal

You can use gnome-session-inhibit --list to find out what’s actually stopping you from logging out or powering down.