China inked its first term deal to buy liquefied natural gas from an American exporter since the trade war disrupted deliveries, a sign of confidence that relations with the U.S. could be normalizing.