Dust-acoustic waves in a self-gravitating complex plasma with trapped electrons and nonisothermal ions