Influence of structured sidewalls on the wetting states and superhydrophobic stability of surfaces with dual-scale roughness