seat/pointer: reset pressed buttons on focus change
This fixes two problems:
- A surface could get unexpected release events for buttons pressed while other surface was focused;
- Clearing focus while a button is pressed would lead to the button getting "stuck".
Fixes: 8730ca96
Also see wayland/wayland#280.
A proper solution would be introducing something like wayland/wayland!406 but for pointer.