State and local governments will receive a windfall of more than $50 billion over 18 years from settlements with companies that made, sold, or distributed opioid painkillers. Using the funds for law enforcement has triggered important questions about what the money was meant for.