Microscopic theory of polariton lasing via vibronically assisted scattering