ESG funds have suffered outflows for two consecutive years, partly due to political blowback. Investment analysts say "environmental, social and governance" funds are here to stay despite headwinds.