US president Donald Trump has suspended military aid to Ukraine after he accused its president of dragging out the war.