Man suspected of killing priest was in police custody before slaying