The Supreme Court’s decision in Kingsley departs from a history of giving deference to law-enforcement officers.