US stocks end lackluster week on losing note