X Factor winner Matt Terry will star as Prince Henry in a Christmas pantomime in Hastings.