$\Lambda_{\text{c}}^{+}$ fragmentation function in pp at 13.6 TeV