New Haven mayor's communication director leaving for job with CT treasurer