Enhancing Cross-Domain Recommendations with Memory-Optimized LLM-Based User Agents