[doc] Correct decay function equations in function_score description

Impact of decay and scale was missing from the equations.

Closes #6983