Russian foreign minister Sergei Lavrov has said the US and Russia are moving in the "right direction" to end the war in Ukraine.