A coalition of 16 US states is suing President Donald Trump to block his decision to declare a national emergency to obtain funds for building a wall along the US-Mexico border.