Learning ground states of spin-orbit-coupled Bose-Einstein condensates by a theory-guided neural network