The U.S. and China have imposed new port fees on each other’s ships, escalating trade tensions as both sides move to protect their shipping industries.