The U.S. Justice Department said flatly in a legal brief that federal civil rights law does not ban discrimination based on sexual orientation.