U.S. stocks ended Friday in the red, closing out a lackluster week despite a year of historic highs.