Martin Skrtel scored on an own goal and Georgino Wijnaldum added one late in stoppage time to get Newcastle a 2-0 win over Liverpool.