compositor: Conditionalize more Wayland support