Does holding a pistol make you run further (or faster) than your primary weapon?
I wasn't able to find an 'official answer' but there were a number of sources that said only the primary affects your speed.
From this site
From game FAQs
On a semi related note: Lightweight will multiply the player's movement speed by 1.1x ( 8% to 10% increase depending on the weapon).