A lawyer defending the state of New Hampshire against abuse allegations at its youth detention center attacked the plaintiff’s credibility Monday, suggesting he was a troublemaker who was appropriately punished as a teen and is now a delusional adult seeking a payout.