An exhibition exploring how historical events influenced the subject matter of productions staged during the Regency era is to open in Oxford.