Real estate mogul Srettha Thavisin has been endorsed by Thailand’s Parliament to be the nation’s next Prime Minister, bringing an end to weeks of political deadlock.