In a joint letter, the top civil rights officials from the Justice Department and the Education Department rejected the Obama administration’s position that nondiscrimination laws require schools to allow transgender students to use the bathrooms of their choice.