WifiStateMachinePrime: Reorder variable initialization order

ModeStateMachine runs on a separate thread from where the constructor of
WifiStateMachinePrime is being invoked. Ensure that the mode state
machine is kiced-off after all the variables are initialized to prevent
any race.

Bug: 79381270
Test: Unit tests
Test: Wifi toggle works.
Change-Id: I8ab0db32bcba75f67347ac9fdac32e8e914bc097
1 file changed