Photonic crystal nanocavity based on a topological corner state