The iPhone 18 Pro Max topped CNET's 32-phone battery test, but cheaper smartphones delivered surprising results. See which models performed best.