On the Security of Lattice-based Physical-layer Network Coding Against Wiretap Attacks