Israel risks “breaching obligations under international humanitarian law” by blocking aid to Gaza, a Foreign Office minister has said.