A major incident has been declared in Manchester after police have shot a suspect following a stabbing outside a synagogue.