One of the world's rarest whales, about which scientists know "practically nothing", may have washed up on a New Zealand beach.