Don't call xcb_damage_subtract for Wayland windows
Summary:
Instead of checking the operation mode for X11, we check whether the
damage_handle is created. This fixes a bad damage warning for Wayland
windows in kwin_x11.
Reviewers: Plasma
Subscribers: plasma-devel
Projects: Plasma
Differential Revision: https://phabricator.kde.org/D1490