Far-left wins power in German state of Thuringia