The composer and lyricist Stephen Sondheim was enlisted to devise a treasure hunt at the American Museum of Natural History for a charity. Later, he managed to hide himself, too.