Tensor-Networks-based Learning of Probabilistic Cellular Automata Dynamics