XR: fix -Wsfinae-incomplete in anchor manager headers


Replace the forward declaration of QQuick3DXrSpatialAnchor with a full
include so the type is complete when moc-generated SignalData templates
instantiate SFINAE type traits (e.g. std::is_base_of<QObject, T>).

Pick-to: 6.12
Change-Id: I99e4c89d53ca618ff3ae82f0180fc4a5ca856be0
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commitffefb781f0de9d5b39b25036aeb65f480d93553f
parent37992a305bfede08a0dfb74aad62b3990e9c0de9
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeWed, 14 Oct 2026 05:43:38 +0000