State efforts to impose work requirements for Medicaid benefits is subject of lawsuit