Update ProtoLogProxy classes to only log to protolog when protolog has been initialized

Flag: com.android.launcher3.enable_active_gesture_proto_log
Flag: com.android.launcher3.enable_recents_window_proto_log
Flag: com.android.launcher3.enable_state_manager_proto_log
Fixes: 381846204
Test: ran launcher and checked logs
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7fb1d6d53b2f9d9cb74689844894f36e7addb515)
Merged-In: I807326bd6c65b8e51f5302ba58eed841c23216f6
Change-Id: I807326bd6c65b8e51f5302ba58eed841c23216f6
4 files changed