Masoud Pezeshkian formally endorsed as Iran's president by supreme leader