The New Hampshire House has given preliminary approval to replacing the state’s troubled youth detention center with a six-bed facility and further limiting which crimes could land children there. The state currently spends $13 million a year to operate the…