Josh Koenigsberg writes with both humor and insight. In the end, his new play is about something much more severe than a midlife crisis.