Efficient and Scalable Density Functional Theory Hamiltonian Prediction through Adaptive Sparsity