The United Nations has approved a US plan for Gaza, aiming to establish an international security force in the region.