Nanometric square skyrmion lattice in a centrosymmetric tetragonal magnet