Schwalmstadt, a 12th-century fortress surrounded by a moat, houses some of Germany’s worst offenders, many of whom attend intense therapy sessions.