Two lawsuits raised concerns about the structural integrity of the Titan submersible long before this week’s disaster killed all five people aboard the craft.