Remove pointless destructors
Summary:
Neither WaylandCompositor nor X11Compositor have at least one smart
pointer field that points to an incomplete class type, so the destructors
are kind of useless.
Reviewers: KWin
Subscribers: kwin
Tags: KWin
Differential Revision: https://phabricator.kde.org/D23747