Fears about the impact of cellphones and social media on children have united political rivals in Congress.