Priest quits church post for acting in film