Add SCREEN_STATE flags to QuickStepContract

The events are sourced from ScreenLifecycle.

Bug: 267222890
Test: added unit tests, and manually verified the change

Change-Id: Iae8df1f1c4654f37db9a0ec450aa0516405769bc
4 files changed