qt: do not use `Screen.devicePixelRatio` as it is invalid on Wayland with fractional scale
It reports 2.0 in my case, while effective device pixel ratio of the attached window is 1.25 (matches my display scale).
I think this happens because Wayland needs fractional scale protocol and that is bound to a wayland surface (Qt window) and not screen. Qt uses fractional scaling protocol for windows as I can get it properly with QQuickWindow::(effective)devicePixelRatio()
.
Request review @chub.