Ruling that Srettha Thavisin violated ethical standards follows tensions between his party and conservative establishment