Sam Billings hit a 24-ball half-century for the Sydney Thunder during their win over the Brisbane Heat in the Big Bash League.