I haven’t read the current United dress code policy but when my dad worked for them we all had to dress business casual, including children. We were not allowed to wear sweatpants or jeans. So while it’s true men don’t necessarily wear leggings, I’d say they fall under the sweatpants/athletic wear category.