Man charged over ex-partner's assault refused bail amid custody dispute