Investing for the future is smart, but if you've got lingering credit card debt it's holding you back more than you realize.