For millions of people, cannabis has become the unofficial prescription for lost sleep. But what feels like a solution may be quietly making the problem worse.