Fix the flaky test case : testRecentsButtonDisabledOnSecondaryDisplay

Wait for the display state ready before the testing

Bug: 123217660
Test: atest NavigationBarButtonTest#testRecentsButtonDisabledOnSecondaryDisplay
Change-Id: Iaa1808db5985d2f239932ae0fd69c4ee4dfccf4b
1 file changed