Stocks closed at all-time highs as traders looked past signals the Federal Reserve is in no rush to cut interest rates.