Lorry ‘rescued’ after being trapped under bridge for four hours