Fix flaky InputSurfacesTest tests

This CL updates InputSurfacesTest to use a WindowInfosReportedListener to ensure window changes have made their way to InputFlinger before injecting taps.

Bug: 288344458
Test: ran each flaky test 200+ times
Change-Id: Iec9de64b20750f1292ac09437dff1a747eade98c
1 file changed