BEIJING—China's economic growth slowed to its weakest pace in 18 months, putting pressure on China's leaders to allow the yuan to fall as a way to help troubled exporters and boost growth, and setting up a potential fight with the U.S. on trade and currency policy.

Beijing released its disappointing growth figures hours after the U.S. blasted China for its recent currency moves, calling the decline in the yuan...