Automated Black-box Prompt Engineering for Personalized Text-to-Image Generation