Asymptotic regularity of a generalised stochastic Halpern scheme with applications