Murdo Fraser has lodged a complaint against Police Scotland after his comments about non-binary people were recorded as a hate incident.