Fix WindowInputTests for automotive

Fixed an issue where sometimes testMoveWindowAndTap() would try to tap
on a view before the view has settled.

Bug: 443135588
Test: atest android.server.wm.input.WindowInputTests#testMoveWindowAndTap
Flag: EXEMPT test_only
Change-Id: I6e26c7aac5d45d632f3d56c3ecdcfa4e476b01ca
1 file changed