Harris vows to end Gaza war if elected US president