Extensions of deformed $W$-algebras via $qq$-characters