Wholesale prices were unchanged in June and showed only a mild effect from U.S. tariffs, adding to the growing view that trade wars won’t lead to a big increase in inflation.