Hundreds of shoes suspected to date from Victorian times have been found washed up on a beach – possibly from a shipwreck.