Allan Saint-Maximin's devastating impact from the bench eased Newcastle's relegation fears as he set up one and scored one in a crucial 2-1 win at Burnley.