The layer (*.lyrx) file contains the symbology and labelling definitions. It is currently point to the abosulte path of the contours when it was created. To redirect it, right-click on the layer file in the Table of Contents and reset the data source to point to the current location of the contours.