Shifts to avoid trade war have increased Hanoi’s vulnerability as surplus with US has grown