Trent Alexander-Arnold's £10m move from Liverpool to Real Madrid has been marred by injuries, criticism and hostility.