The comedian, who came out of near anonymity to take over the program from Jon Stewart in 2015, plans to exit the flagship Comedy Central series