inds = [0] + [ind for ind, (i, j) in enumerate(zip(li, li[1:]), 1) if j - i > 2
    ] + [len(li) + 1]
[li[i:j] for i, j in zip(inds, inds[1:])]
How to split a sorted list into sub lists when two neighboring value difference is larger than a threshold