Stocks closed slightly lower on Friday in a quiet day of trading as investors returned from the Christmas holiday.