I sat directly behind Stephen Sondheim at a performance of “Fun Home,” a new musical at the Public.