A dolphin has been found washed up on a Dorset beach by a member of the public.