Molecular relaxation in a photosensitive liquid crystalline polymeric glass-former