The US and other states have revived long-dormant ideas for a "two-state solution" to end the Israel-Hamas war.