An AI facial recognition tool that aims to detect adult migrants posing as children will be deployed at the UK's borders next year.