Hundreds of climate activists have taken to the water near the world's biggest coal port with police trying to keep them away from an approaching cargo ship.