Secretive right-wing donors and foundations have given millions of dollars to prominent anti-trans groups.