Sorry, saw the reply just now. I use Wayland pretty much exclusively since I switched all my devices to Linix roughly three years ago and I face no issues. Afaik sway is fully compatible with i3 config, so I assume your gestures should just work the same. Hyprland is a different beast, it is still pre-release, so while the state is impressive, do not expect super advanced niche features like gestures (check their wiki to see if they are supported). I don’t use an OSK, whenever I fold, I pretty much use only xournal++ which I navigate with pen and touch. However, there is at least one that I tinkered with some months ago and it worked, I cannot remember the name though (probably got it from the arch wiki). Lid switch detection works well in sway, so I assume configuration for it to come up automatically should be trivial. Again, definitely try sway first, this should give you the best experience. Hope it helps!