World leaders have been wishing Pope Leo well following the news of his surgery and diagnosis.