The United States has vetoed a UN Security Council draft resolution demanding an immediate ceasefire in Gaza and the immediate lifting of all restrictions on humanitarian aid.