Restaurant Brands beat quarterly estimates as Burger King’s turnaround and international growth offset weaker Popeyes same-store sales.