The start of a trade war between the United States and China comes at an inconvenient time for the Chinese economy.