Building compact superconducting microwave resonators with Hilbert space-filling curves