Revisions to the law would weaken liability protections for social media companies that fact-check the president’s posts.