swipe-tracker: Fix a leak in …_confirm_swipe()
The swipe tracker takes ownership of the heap-allocated snap points in hdy_swipe_tracker_confirm_swipe(), but if any of the preconditions fail the function would return without freeing that memory. This uses an auto cleanup function to handle these many cases automatically.