Data-driven stability assessment of multilayer long short-term memory networks