NEW YORK—A U.S. appeals court on Tuesday threw out a price-fixing lawsuit against two Chinese companies that make vitamin C, a case that spotlighted trade tensions between the United States and China. Dismissing the 16.5-year-old case was justified because of a “true conflict” between Chinese and U.S. antitrust laws, and the potential impact on foreign…