Quantitative Equality in Substructural Logic via Lipschitz Doctrines (Logical Methods in Computer Science, 2025)