The Kuomintang, which traditionally favors close ties with China, lost five cities and counties to Taiwan's ruling Democratic ​Progressive Party.