Dynamic Relative Representations for Goal-Oriented Semantic Communications