Qt6 works great on Wayland. Any window position issues are Wayland issues, not Qt, not Freepascal/Lazarus and this is known for other programming languages too. Some frameworks work around that or simply advise XWayland to be installed as a dependency.
You must also understand the vision behind Wayland, which is "moving windows all over the place is not good design". I personally disagree as do many, so simply use XWayland.