Add a window system sensor

David Redondo requested to merge work/windowsystem into master

It's based on the value of XDG_SESSION_TYPE because ksystemstats is a QCoreApplication. BUG:452461

Merge request reports