David Cameron has threatened to sever ties with Scottish ministers following Humza Yousaf's meeting with the president of Turkey at COP28 in the absence of a UK delegate.