Convergence of empirical subgradients for optimal transport-based objectives