Bound state in the continuum nanophotonic laser