The US president hopes the "terrorists" that vandalised his UK golf course are "treated harshly".