Mike Bartlett's latest play is a riveting drama that makes guilty peeping-toms of us all, says Dominic Cavendish