Taiwan elects 1st female president, rejects pro-China party