Southwest Airlines Co. boosted second-quarter profit more than threefold, beating analysts’ estimates, as its policy of not charging for checked bags helped fill planes to record levels.