Fix WindowFilterPushDown optimizer to handle other window functions correctly

Ask metadata for the `row_number` function and compare the passed in signature.