US stocks edge higher as investors weigh China's COVID surge and reopening of its borders