If a patent holder is not producing the patented thing, and not licensing it to someone else who is, the patent should expire. Kind of like a trademark that is not defended. Seems that would fix the problem?
There's nothing stopping people from manufacturing the drug for personal use, other than that it's likely extremely hard to make.