Meghan, Duchess of Sussex, has praised New Zealand on its 125th anniversary of giving women the right to vote.