Ultra-high energy cosmic rays from annihilation of superheavy dark matter