Hull FC are into the Challenge Cup quarter-finals after beating Wigan Warriors