X announced that users will no longer be able to edit photos of people to make them nude in countries where it is illegal