A federal judge on Wednesday dismissed a lawsuit filed by the state of Ohio that tried to get the U.S. Census Bureau to provide data used for drawing congressional and legislative districts ahead of its planned release.