Efficient Link Prediction via GNN Layers Induced by Negative Sampling