gestureswipe: Count last event when calculating velocity
The last event, matching lifting the finger/releasing the mouse button, is important when there's a large delay between it and the previous events, as in when performing a movement, stopping, then releasing fingers as opposed to doing a swipe.
If this event is skipped, doing this will result in kinetic deceleration matching the previous finger movement, while the expected behavior would be no deceleration.
See also 97f54062 for a similar fix in GtkEventControllerScroll.
Backported from https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2714
Fixes #17 (closed)