The move could compel Mark Zuckerberg and Jack Dorsey to testify at a hearing exploring their social media sites’ content-moderation practices, ramping up the war between Republicans in Washington and tech giants in Silicon Valley less than two weeks before the election.