Wayland: backend code cleanup
Summary: Modernize code, make it more readable, throw away unused code.
Test Plan: Compiles, runs.
Reviewers: Plasma
Subscribers: zzag, plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D22966