Universal entanglement and boundary geometry in conformal field theory