The endangered sei whale was caught on the ship’s bow when it arrived at the Port of Brooklyn, officials said.