After a state representative sponsored a bill that was narrowly tailored to further the interests of a single major campaign donor — a multimillionaire who wanted a legal limit to how much he’d have to pay in child support — public records revealed the donor’s role in drafting the specific working of the legislation.