Newcastle moved away from the drop zone with a 3-0 win over 10-man Wigan - ending a run of four straight defeats.