Even with its gumshoe plot and a cast of comic-book characters, this play is packed with earnest philosophizing.