Atmospheres as windows into sub-Neptune interiors: coupled chemistry and structure of hydrogen–silane–water envelopes