This problem was solved when I upgraded to Expo v52.0.7 and ran npx expo install --fix again.
I think that the original update did not update @react-navigation/native from ^6.x to ^7.0.0, and this was fixed.