US judge blocks detention of British social media campaigner