Carli Lloyd's 51st-minute header gave the Americans the goal they needed to get by the defensive-minded Chinese and advance to the semifinals.