Ensure input transactions are applied before injecting input

Input transactions were not applied synchronously with
performSurfacePlacement. This ensures input window info is sent to
native before continuing with inject input.

Bug: 122965081
Bug: 129087315
Test: WindowFocusTests
Change-Id: I18c705b0feb292e1710f5d4b5c1e844d23b2421e
2 files changed