There is no concept of managed windows in Wayland, so every time we call
managed() on a Wayland client, it will return false. We need to call
that method only for X11 clients.
The weirdest part of this patch is missing resource names in window
classes of authentication agents on Wayland. The reason for that is
KWayland can't read the exe symlink(/proc/<pid>/exe) because the
authentication agents run as root.
CCBUG: 398100