Merge changes from topic "revert-26246900-revert-26228978-device-state-callbacks-XJADFJXEAY-AJMIGPVANN" into main

* changes:
  Migrate SystemUI Fold Utils to updated FoldStateListener
  Creates DeviceState objects with display properties
  Promote DeviceStateManager to System API and update DeviceStateManager API's