You are incorrect. DNC is not state funded.
Those elections use the state's voting machines and vote security infrastructure. That's functionally equivalent to being state-funded, even if the funding is in terms of human-power and machine use donation and not cash.
The state pays me to assist with the operations of the taxpayer-purchased-and-funded voting machines for the purpose of executing both the Democrat and Republican primary elections (and no other primary elections) on PA primary day. I don't know how that can be not "state-funded."
I drive to work on government supplied roads, but that doesn't mean you have a moral or legal right to hack my company email.