The Vatican issued an official document Monday rejecting the idea that people can choose or change their genders and insisting on the sexual “complementarity” of men and women to make babies.