How to store old hydraulic disc brakes?
Because you are buying new brakes - the best thing to do would be to store your old brakes in the same manner you receive the new brakes.

And that would also be re-using the existing packaging.

I'm sure the logistics in getting newly manufactured brakes from the production line to the retail counter / customer involves many months of transportation and storage. So you should be absolutely fine mimicking this.