Update wait-for-multiple-promises.js

There is no need to return promise explicitly from 'two' function and Q.allResolved is deprecated, we can use allSettled or all instead.