[23/n Dispatcher refactor] Add const ref to window and connection

Add a const ref to the DispatcherTouchState for WindowInfos and
ConnectionManager.

Test: atest inputflinger_tests
Bug: 245989146
Flag: EXEMPT refactor

Change-Id: I34ed5f0f6a5aa1a3e8fc7088412aa46530399772
2 files changed