A deep learning approach to the probabilistic numerical solution of path-dependent partial differential equations