The pandemic exposed how old-school tech hampers access to health care and other public services. With new federal funding, states finally have a way to upgrade, if they seize the opportunity.