Triple killer Kyle Clifford has racist and transphobic views and behaved in an “aggressive manner” towards his ex-partner before the break-up that led to her murder, a court heard.