US stock market opens lower to retreat from record high