Complete spin and orbital evolution of close-in bodies using a Maxwell viscoelastic rheology