LOS ANGELES — The head of America’s largest port is trying to navigate through the Trump administration’s trade war.