US stocks close higher Wednesday