Israel's president has joined other Israeli officials to speak out against a two-state solution U.S.