Sánchez, one of Europe's few leftist leaders, is a darling of international progressives, but his polarising status and anger over the cost of living imperilled his tenure.