A federal judge has blocked the enforcement of an Arkansas law that required social media sites to verify the ages of users.