sysutils/consolekit2: update to 1.2.2, latest upstream
This commit picks up several ideas:
- update to the 1.2.2 release from upstream (PR 252783)
- make the X11 option useful again; it **was** useless, so
PR 255847 proposed removing the option -- X11 is mandatory --
but there was patches also to remove X11 entirely, for a
Wayland-only experience. I've massaged it all until the
option is useful and meaningfully selects for X11 (or not).
The original patch for optionalize-X11 came from amdmi3@,
and the "competing" one was -- via DankBSD, from unrelentingtech,
who also has other patches (obtained from GitHub) for CK2.
Reported by: Olivier Duchateau