World leaders greet Thai king during APEC summit