Hollywood closed out a challenging year with a strong holiday box office led by “Avatar: Fire and Ash,” which dominated ticket sales domestically.