[Settings] Code refactor for combining TelephonyCallback with Lifecycle

This is a helper class which may support monitoring the
TelephonyCallback under the condition of Lifecycle state STARTED or
RESUMED.

Bug: 229689535
Test: unit test
Change-Id: I6d26bee604d9559e207e107b2f26583f700f8e0a
(cherry picked from commit 7c5259efad7640fdd9b5d94110cb3073e8a9c1d2)
2 files changed