The Wales international struck to seal a 2-1 win for the Black Cats