Import local copy of qtwaylandscanner
This is a copy of the code from Qt5.15 with some backported patches from development branch of Qt.
One of the upcoming fixes will introduce new API, which is why we can't rely on distro packaging.
The cmake macro is mostly copied from ECM, but set to rebuild generated code when the scanner changes.