Inv-Entropy: A Fully Probabilistic Framework for Uncertainty Quantification in Language Models