Karl-Anthony Towns scored 27 points and grabbed 20 rebounds, leading the New York Knicks to a 121-115 win over the Toronto Raptors, fending off Scottie Barnes’ 23-point effort.