A candidate from the pro-independence Democratic Progressive Party looks set to win the presidency despite Beijing’s pressure and rhetoric.