States are enacting strict limits on the number of powerful prescription painkillers doctors can prescribe, a move that many believe will help fight the opioid crisis but has raised alarms among some physicians.