Just before a wave of violence turned Baltimore into the nation’s deadliest big city, a curious thing happened to its police force: officers suddenly seemed to stop noticing crime.