wayland: Properly choose interface versions
If the compositor supports newer version of output-device or primary-output, any app that uses libkscreen will crash eventually.
The proper way to select the interface version is to choose the minimum between the implemented version and the version supported by the compositor.