Ancient Persia probably treated the Jews OK as some of them including Mordecai did not leave when they were allowed to return to their homeland.
The fact that Haman sought to steal their wealth seems to indicate they were prosperous in Persia.
The Bible treats Xerxes better than history. I saw a movie in which Esther tried to convince him not to invade Greece but that is probably not historically accurate or at least they don’t really know.
I think Esther became acquainted with, as in Queen, Xerxes after he returned from Greece, so you’re right, the movie is probably wrong.