Memory kernel in liquid phase cis–trans isomerization