Lewis Martin scored a sensational hat-trick for Hull FC at Wigan.