US President Donald Trump has witnessed the signing of an expanded ceasefire deal between Thailand and Cambodia.