The Price of Cosmopolitanism: Globalization, Class Structure, and Language Endangerment in Shanghai