Strength in the tech sector lifted US stock benchmarks to their best session since early August as oil prices slide and officials signaled optimism about a summit between US President Donald Trump and China’s Xi Jinping this week.