Store newGestureState before onConsumerAboutToBeSwitched clears it am: b47a99e3cc am: 5def85eb22

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11972618

Change-Id: I124fc6fda0a51d6768c54a125c4e88efc7ec3ed6