Gravitational-wave signatures of quantum gravity