Charlotte Nichols calls on technology secretary to set out ‘red line’ social media firms must cross before government switches to alternative platforms