“How To Train Your Dragon: The Hidden World” topped the North American box office for a second week,but close on its tail was Tyler Perry’s final installment of the “Madea” franchise. Driven by a largely female audience, “AMadea Family Funeral” had a better-than-expected debut.