Apply perf session for regular window animation

This keeps the same behavior:
 - App transition/rotation/recents
   -> Set sf early wake
   -> Pause snapshot persist queue
   -> Use high refresh rate
 - Window container with running SurfaceAnimator
   -> Use high refresh rate

Also
 - Centralize perf sessions to display (fix leaked sessions).
 - Add support to reuse session for flexibility of management.
 - Fix non-paired session of transition. Because the transition
   can be aborted without playing.
 - Fix non-paired trace of SystemPerformanceHinter. Because the
   begin/end of name may not match if there are multiple sessions.
 - Use asyncTraceForTrack, which reduces extra rows in perfetto.

Bug: 305987082
Test: TransitionTests#testTransitionsTriggerPerformanceHints
      WindowContainerTests#testRemoveImmediatelyClearsLeash

Change-Id: If5cf41b9a0586f5a0a76d4a9044a5489900502df
9 files changed