Coupled pyroelectric-photovoltaic effect in 2D ferroelectric $\alpha$-In$_2$Se$_3$