Privacy-preserving design of graph neural networks with applications to vertical federated learning