Civil unrest sparked by a subway fare hike has widened to reflect anger over high living costs and inequality in one of Latin America’s wealthiest countries.