Fix hires scroll wheels support
This effectively resolves scrolling issues when a high-resolution mouse is used.
The idea is not new:
- https://gitlab.freedesktop.org/libinput/libinput/-/issues/889
- https://gitlab.freedesktop.org/libinput/libinput/-/issues/814
- https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2668
If there is something wrong, please let me know. Also will be great if someone will test this too.
Cherry-pick: 5.27
Edited by Volodymyr Zolotopupov