A different type of photosensitive material
There are many types of photoresist that might suit your purpose. Many are commercially available from electronics suppliers; even Amazon carries some. A thin film of photoresist could be used to separate two liquids, and dissolve when exposed to light, if at least one of the liquids is transparent to the wavelength needed.

You might also consider a photo-sensitive valve using a plastic that changes shape in light.