After announcing a full public inquiry into group-based child sexual abuse, the SNP needs to demonstrate it’s more than cynical electioneering