An arson probe has been launched after a fire tore through a derelict County Durham pub causing a “large amount of damage”.