Synchronize window config updates (8/n)

1. Make sure the values stored in ClientTransactionItem are final so
   that when we queue the transactions, they won't change before
   dispatch.
2. Fix related tests that were incorrectly passed (false positive).

Bug: 260873529
Test: atest WmTests:ActivityRecordTests
Test: atest WmTests:ActivityTaskManagerServiceTests
Test: atest FrameworksCoreTests:ObjectPoolTests
Change-Id: Idb5aec3ec158307eed2f41cb7aeeefd0fcbe227f
25 files changed