A woman in her 40s has been arrested on suspicion of murder after the body of a man was found in Greater Manchester.