The messaging app is restricting screenshots on iOS 27 and on Android devices where it can detect an AI assistant trying to read the screen.