Thailand’s digital minister said he would seek a court order to shut Facebook in the country unless it takes action on the alleged scams.