William smiles as he visits Earthshot prize finalist in seaside town