Snap desktop window to valid area on display rotate

Updated DesktopModeWindowDecorViewModel to listen to display rotations, and update the all task bounds if the task would end up unreachable on the rotated display bounds

Bug: 348389314
Test: atest DesktopModeWindowDecorViewModelTests
Test: manual testing
Flag: EXEMPT bugfix
Change-Id: Ia8ec5782d75bce4d94a44c9d8a8575b2889c9282
3 files changed