Pope Leo XIV waves to well-wishers as he walks out of Rome’s Gemelli hospital Oct. 17