Hybrid Deep Neural Networks to Infer State Models of Black-Box Systems