Ms. Lamb's works, staged at the Public Theater and elsewhere, often came under attack from male critics.