Spanish Prime Minister Pedro Sánchez has emerged as one of the European Union’s leading critics of U.S. and Israeli strikes against Iran.