WASHINGTON—President Donald Trump’s trade war against China didn’t achieve the central objective of reversing a U.S. decline in manufacturing, economic data show, despite tariffs on hundreds of billions of dollars of Chinese goods to discourage imports.