Pope Leo XIV visited a prison in Equatorial Guinea on the last day of his Africa tour.