touchpad: Rework is_pointer handling