Bruno Guimaraes played a starring role as Newcastle defeated Liverpool in the Carabao Cup final.