The sister of Thailand’s king entered the race to become prime minister on Friday as the candidate of a populist party, an unprecedented foray into politics by a royal that instantly upended the first election since a 2014 military coup.