Quantum State Local Distinguishability via Convex Optimization