The demonstrations and violence that followed the death of Freddie Gray while in police custody took some by surprise. But to others who have lived in many of Baltimore’s neglected neighborhoods, the uprising felt inevitable.