Stocks closed out the first quarter of 2021 on a high note on Wednesday with the S&P 500 rallying 0.4% and hitting an intraday record high.