Sex offender sues hospital that won't let him visit son, 9