The person died after contact with a dog while on holiday in Morocco, the UK Health Security Agency says.