G.F.
You tend not to lose custody for relationships unless they actually put the child in harms way or effect them in a negative way to an excessive degree.
Still you are seriously considering going into court with hickies as proof of sex and you are willing to make your child testify? Good luck with that. Courts don't like when a parent puts their child in the middle and that is exactly what you want to do.