Novel Glassy Nematic Liquid Crystals for Non‐destructive Rewritable Optical Memory and Photonic Switching