Friction as the Cost of Probabilistic Computation: A Generalised Substrate Theory | Synapse