A philanthropic foundation that lavishes money on scientists who praise religion also has ties to the Epstein class.