Judd Trump was on the back foot, but responded with his 13th century of the season against Barry Hawkins in the final of the European Masters.