Stability Analysis of Electrodeposition across a Structured Electrolyte with Immobilized Anions