Fix features and add some new features
* qtscxml contains two independent implementations. With Qt 6 the
statemachine was moved into qtscxml to avoid an additional module
that provides similar functions. During this process the features
were broken.
* With this change the features are fixed and additional features are
added to enable fine-grained configuration for an efficient build.
* The schema was taken from qttools.
Fixes: QTBUG-132565
Pick-to: 6.9
Change-Id: I638a8d08f94425dba3d80a68af389654458ae8dc
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>