both are polite, the only slight difference is that when you use could here, you give the impression that you're wondering if the other person is "able" to reach the salt or not, while the other one which is "would" is you wondering whether the person is willing to pass the salt or not, so I would chose could even if would is still polite.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.