Stocks are poised to open higher on Wednesday, extending a rally that has put major indexes within sight of record highs.