A fundraising agreement between a statewide third party and the state Senate’s now-defunct Independent Democratic Conference has been deemed invalid by a state Supreme Court justice.