A Latent Restoring Force Approach to Nonlinear System Identification