Rhode Island Supreme Court upholds child custody decision