A federal judge in Washington, D.C., on Tuesday rejected an effort by the conservative group Heritage Action for America to avoid a deposition in a lawsuit challenging a recently passed Florida law restricting access for voters in the state.