A medieval wall painting believed to date from the late 13th or early 14th century has been discovered at Durham Castle in Durham City.