States that have passed laws permitting recreational cannabis use have seen a steep drop in court-ordered treatment for pot.