The chief justice's bold stance in a judicial-elections case offers Congress a chance to curtail fundraising.