Daniel Royer's brace lifted the New York Red Bulls to a 2-1 win over Los Angeles FC as Bradley Wright-Phillips' number 99 shirt was retired in his honour.