The state filed two separate lawsuits against Chinese parent company ByteDance, joining a growing list of states and federal agencies taking aim over security fears.