No, the iPhone X does have different size for wallpaper and its lock screen. You need to select a picture directly from the auto saved picture of the lock screen or wallpaper or check the exact size to convert your picture in that same dimension. Obviously both the lock screen and wallpaper for iPhone X are different.