Dena Karari’s attorney said what drew Tehran authorities to Ms. Karari was her operation of the non-profit Children of Mehr Foundation, which helped impoverished children in Iran through private donations.