Adds same "fresh user → create Memo" logic to headless mode that
interactive mode has. Now `letta -p "hello"` works for fresh users
without needing --new-agent.
🐺 Generated with [Letta Code](https://letta.com)
Co-Authored-By: Letta <noreply@letta.com>