[DO NOT MERGE] Track whether a layer has explicitly requested input info

Introduces `hasRequestedInputInfo` in `Layer::DrawingState` to track if a layer has provided an input token or explicitly set `NO_INPUT_CHANNEL`. The `needsInputInfo` check now uses this new flag to determine if the InputDispatcher needs to be aware of the layer.

Bug: 435195601
Bug: 385347977
Test: manual
Flag: EXEMPT bugfix
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:5c16295381ce4e5e04b232950d469a2e22b80c9e
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:0246a197a0496586871ae6f10c52502636c8eea4
Merged-In: I30c51d9b99d43a66627a3a6b7a1004228da2318a
Change-Id: I30c51d9b99d43a66627a3a6b7a1004228da2318a
2 files changed