People in Rio de Janeiro’s notorious slums are moving toward the middle class, but many businesses shy away from the areas known for drug dealers and violence.