Foundation says it ‘does not endorse any organizations’ while funneling hundreds of thousands to rightwing causes