Latent Domain Learning with Dynamic Residual Adapters