From the PHB FAQ
That is all.
Originally Posted by FAQRogue weapon talent requires you to “wield” a particular weapon. What does this mean?
Wielding means you must be using that weapon in the attack. Merely holding it while you attack with another weapon isn’t enough to qualify for any bonuses that result.