Protein phase separation provides long-term memory of transient spatial stimuli