Bayesian Learning-driven Prototypical Contrastive Loss for Class-Incremental Learning