Dr. Farmer, who was brought up in a Catholic family, frequently connected issues of global health, human rights, and faith.