Proposal for a long-distance nonlocality test with entanglement swapping and displacement-based measurements