[ToA] Implement grammatical gender in ActivityTaskManagerService and WindowProcessController

Bug: 314886712
Bug: 314886661
Test: manual + Presubmit
Test: atest GrammaticalInflectionManagerTest
Test: atest WmTests:ActivityStarterTests
Test: atest WmTests:WindowProcessControllerTests
Change-Id: Iccd16c83f0d9d04db68d12355de749955c3d002b
Unresolved-Comment-Reason: will fix the comments in the next CL
5 files changed