Trump threatens to declare state of emergency to secure wall funding