Fleeing cops in an area known for drug trafficking has been upheld as proper detainment, all the way to the Supreme Court. This man was a convicted drug dealer out on bond from his most recent arrest.
I reserve the right to disagree with SCOTUS. Not that it means anything objective, of course.
Remember, SCOTUS once concluded that state-legal homegrown produce could be seized in a violent “dynamic raid” because its existence reduced demand in illegal interstate commerce.