US stocks end mostly higher; Wendy's becomes latest meme stock