Russian President Vladimir Putin's hopes of a good relationship with Donald Trump had been fading for some time.