Luke Wells made a career-best 208 as Sussex turned the screw on Surrey to leave the hosts needing to hang on for a draw going into the final day.