Preparation method of inactivated vaccine