Pope Leo XIV has been diagnosed with lung cancer, the Vatican says.