No, you were not wrongfully terminated. You may or may not have been unfairly terminated but it is not illegal to terminate someone because you have/are looking for another job; nor is it illegal to fire someone because you have several tardies and did not call in properly.