Hollywood closed out an up and down 2023 with “Wonka” regaining No. 1 at the box office, strong sales for “The Color Purple” and an overall $9 billion in ticket sales that improved on 2022’s grosses but fell about $2 billion shy of pre-pandemic norms