Newcastle keep Championship title hopes alive with landmark win at Cardiff