Stock markets rise after Pelosi’s Taiwan trip