Before the trio met Thursday in a villa in the Chinese tech hub of Shenzhen, the US president sought to flatter both Xi and Putin as his friends