Light-induced memory in TlInS2 incommensurate ferroelectric