Pay attention to “The Inheritance” and don’t judge a book by its cover. While at the center of this sprawling play is about the lives of 12 gay men, it doesn’t harp on identity or representation.