No, contribution to the World Bank is not a poor investment or an obstacle to development, because the entire point of the World Bank is to fund projects that are positive for development and the eradication of poverty around the world. Giving to the World Bank could also be likened to given to a charity, since they do charitable works.
No, it is not a poor investment to contribute to the World Bank because it can help develop undeveloped nations. However, I can see how it would be a bad investment if the countries that get World Bank aid cannot retain any of the growth that they experience. But I still don't think that its a bad investment.