Nicola Sturgeon says ‘violence is never acceptable’ after hearing of attack on a girl at secondary school