Remove remaining UserLifecycleListener deps from IMMS utils

With this CL, the dependency on UserLifecycleListener will be fully
migrated into

  InputMethodManagerService.Lifecycle

so that future readers can find various user-related callbacks in one
place.

The observable semantics should remain unchanged.

Fix: 352354308
Test: presubmit
Test: atest FrameworksInputMethodSystemServerTests
Flag: EXEMPT refactor
Change-Id: I337fb084a9395eed7422d6889bf4f15d583c769c
3 files changed