Gravitational waves from newborn accreting millisecond magnetars