Federal layoffs and grant terminations threaten efforts to understand and preserve the nation’s past. “We are getting cut off at the knees,” said one archaeologist.