Will the Israel-Gaza war affect Joe Biden’s chances of re-election? History might provide a guide