Denmark’s Social Democrats won Wednesday’s election, resulting in a changed political landscape that will bring with it a new left-leaning government led by a 41-year-old woman.