US president says Taiwan arms sales are on the table in Beijing talks, pointing to chemistry with Xi Jinping as key to stability.