The euro took a beating from a strong dollar and Europe's political risks, but now is the time to go long, a UBS analyst said.