Although the exact mechanism is still not entirely understood, it turns out that illuminating the liquid crystal, applying a voltage across a small region of it, and then turning off the light source causes a small amount of charge to be stored in that region.
The amount of charge that can be stored depends on the surface area of the electrodes, the strength and composition of the insulation between them, and how close they are together.