Palestinian president: Two-state solution key to defeating terror