[Windows] Remove global state in keyboard tests (flutter/engine#47829)
Currently the keyboard tests use global state to track key calls. As a result, a good test can fail if a bad test leaves key calls in the global state. This removes the global state and ensures each test is isolated. Preparation for https://github.com/flutter/flutter/issues/115611 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in: