Move setImeVisibilityOnFocusedWindowClient to IMMS

Some instances (like of DefaultImeVisibilityApplier) are created inline in IMMS, and therefore not mockable.
As in some tests we want to avoid a call into userData, this CL is moving setImeVisibilityOnFocusedWindowClient
from DefaultImeVisibilityApplier to IMMS, so that we can stub it.

Test: None
Flag: android.view.inputmethod.refactor_insets_controller
Bug: 352615651
Change-Id: I8497e425b9a37c9980e85eaba743cb282fb4826e
2 files changed