A retired Fettes College teacher was lured to his death after being catfished on a gay dating app by a man who stole thousands of pounds from him and spent it on a trip to Blackpool, a court heard.