Finite-size scaling of the 5D Ising model