The decision to leave the United Nations’ educational, scientific, and cultural agency was spurred by what American officials say is the organization’s anti-Israel bias and lack of commitment to reform.