Paintings exploring 18th-century artist Thomas Gainsborough’s relationship with the theatre are to go on display in a dedicated exhibition at the Holburne