In a new standup special, and a début novel, the comedian navigates murky, post-#MeToo terrain: not quite exiled, not quite welcomed back.