Research shows that when a nonprofit receives a donation, its views on rules and legislation magically line up with the donor’s.