While the American public increasingly has been looking inward after years of economic stress at home and a decade of wars abroad, they have a keen awareness of the challenges posed to the U.S. by China in the superpower competition between the two countries.