The narrative at the New-York Historical Society’s vigorous and imaginative new exhibition is not just of China’s impact on United States history or of the experiences and suffering of Chinese immigrants. It is how Chinese-American identity came to be.