Israeli President Reuven Rivlin congratulated Donald Trump on his election as US president on Wednesday.