Add display switch latency tracking

Add display switch latency tracking required for Fold setting.
Fields covered by this CL: Latency in ms, from and to fold state
Bug: 286539409
Test: atest DisplaySwitchLatencyTrackerTest
Flag: ACONFIG fold_lock_setting_enabled TRUNKFOOD

Change-Id: Ia60a139f19c9f3cf607d755feb3a855571b4f267
16 files changed