The move blocks lawmakers from accessing documents related to his administration’s plan to include a citizenship question on the 2020 census.