Does equipping Boots of Swiftness count as targeting a unit for Irelia legend?
Yes, equipping Boots of Swiftness to a friendly unit counts as choosing (targeting) that unit, which will trigger the ability of Blade Dancer (Irelia's legend ability).
According to RiftJudge FAQ #7601 and #6203, equipping gear to a unit involves targeting that unit, and in the context of Irelia's mechanics, "choose" is equivalent to "target." Therefore, because the act of attaching gear requires you to choose a unit to attach it to, it satisfies the condition "When you choose a friendly unit" for Blade Dancer.