Josh Cavallo, who made history in 2021 when he became the first man to come out as gay while playing elite football, has accused his old club of being "homophobic".