You can trim roots coming out of the pot at any time of year.
Without more details of the tree and what development stage it is at it is harder to say if you need to or should.
One question that occurs to me is why it has roots coming out of the pot. Usually the roots are air pruned as they emerge from the pot so don't go anywhere.