A live play set in the final 90-minutes of the general election is to be broadcast in a television first