Fix back gesture routed to wrong display

Touch-outside handling should only be delayed if the touch is happening on the same display as the focused input target. Otherwise it should be handled immediately to handle potential window focus changes.

Bug: 363019398
Test: wm presubmit
Test: Manual, i.e. creating a secondary display with go/web-hv, focusing a window on it and performing a back gesture on the primary display.
Flag: EXEMPT bugfix
Change-Id: I11e3389976c5317aaf7e70da4d83a36d4e9d5a0f
1 file changed