Mr. Hastert, 74, who made an unlikely rise from beloved small-town wrestling coach in Illinois to speaker of the House in Washington, sat slouched in a wheelchair in a federal courtroom here as a judge announced that he was rejecting pleas for probation from Mr. Hastert’s lawyers, as well as prosecutors’ endorsement of a shorter prison stay.