Pope Francis, who reshaped the Catholic Church's focus toward mercy, poverty, and global inclusion, was struggling with a profound spiritual crisis