Fix flaky test WindowInputTestsi#testTrustedOverlapWindow

When disabling batching input, we should post the action to consume
batched events to prevent it would be handled before current event.

Bug: 189241600
Test: atest WindowInputTests --rerun-until-failure
Change-Id: I87aaa2574a27368f88df1aba3f2eb769a8e8f36b
(cherry picked from commit a0ef47223c83a344e04c5c57828eeb05ae242592)
1 file changed