Move to runtime the decision to use x11 or not
Summary:
Instead of deciding at build time which backend to use, see which is
used upon construction.
This will make it possible to have an alternative wayland
implementation.
Test Plan: See D20442
Subscribers: kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D20443