TAIPEI, Taiwan — Taiwan has elected as its president Lai Ching-te, once a scrappy advocate for Taiwanese independence, now a key proponent factor of the Democratic Progressive Party’s assiduous efforts to maintain peace and order symbolically with Beijing while repelling its aggression.