Relative locality in a quantum spacetime and the pregeometry of κ-Minkowski