It seems to be situational - I ride mostly on low-volume roads so I usually just wait behind cars since I know I'll be able to get through the light.
wphamilton mentioned a scenario that I come across on my way home where the road narrows after the intersection and a section of curb/gutter starts as well. In that scenario, I would 100% wait my turn and take the lane even if it did take me a while since it would be dangerous to try and bike alongside a car after the intersection especially if there's nowhere for you to go with the curb and gutter and the cars have nowhere to pass you since there are left turn lanes in the opposite direction.