Thailand’s new parliament on Thursday elected Anutin Charnvirakul as prime minister, keeping the conservative in the top office after his party routed its election rivals.