The writer for “The Simpsons,” “Late Night with David Letterman” and “Newhart” on being the only woman in the writers’ room.